package com.class06.config;

import com.class06.ioc02.Cats;


import com.class06.ioc02.Dogs;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@Import({Dogs.class, Cats.class})
@ComponentScan("com.class06.ioc02")
// 利用@Import 注解，导入Dogs和Cats两个类组件
public class ZooConfig {
}
